package com.sunshine.simplehospital.bean

import androidx.room.Entity

/**
 * Created by sunshine on 2020/4/28
 * 用户信息数据库
 */

@Entity(primaryKeys = ["userId"])
class User (
    val userId: String,
    val password: String,
    //付款密码
    val payPassword: String,
    val userName: String,
    //医保
    val hasInsurance: Boolean,
    val address: String,
    val medicalHistory: String,
    val sex: Int,
    val age: Int,
    val coin: Int
)